<%--
  Created by IntelliJ IDEA.
  User: 86135
  Date: 2023/3/26
  Time: 14:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body>
<script language="JavaScript">
    window.confirm("借书成功！")
</script>
<%
    if (session.getAttribute("page").equals("details")){
%>
<script>
    history.back()
</script>
<%
} else {
%>
<script>
    window.location.href="${pageContext.request.contextPath}/book/findBookByBookNameOrAuthor?pageNo=${requestScope.pageNo}&str=${requestScope.str}"
</script>
<%
    }
%>
</body>
</html>
